package com.swanclouds.redfish.chassis;

import com.swanclouds.api.Apis;
import com.swanclouds.api.chassis.ChassisResourceService;
import com.swanclouds.api.chassis.ChassisService;
import com.swanclouds.core.transport.ClientConstants;
import com.swanclouds.model.common.redfish.CollectionResource;
import com.swanclouds.redfish.common.redfish.CollectionResourceModel;
import com.swanclouds.redfish.internal.BaseRedfishService;

public class ChassisResourceServiceImpl extends BaseRedfishService implements ChassisResourceService {

    @Override
    public CollectionResource get() {
        return get(CollectionResourceModel.class,uri(ClientConstants.PATH_CHASSIS)).execute();
    }

    @Override
    public ChassisService Detail() {
        return Apis.get(ChassisService.class);
    }

}
